<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<link rel="stylesheet" href="css/ui-box.css">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-color.css">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/swipe.css">
    <link rel="stylesheet" href="css/img.css">

	<script src="js/core/zy_control.js"></script>
    <script src="js/core/zy_click.js"></script>
    <script src='js/core/zy_slide.js'></script>
    <script src="js/core/appframework.js"></script>
    <script src='js/core/appcan.js'></script>
    <script src="js/core/jquery.touchSwipe.min.js"></script>
    <script src="js/main.js"></script>
    <script src="js/core.js"></script>
    <script src="js/res.js"></script>
    
    <script src="js/signup.js"></script>

</head>
<body class='um-vp c-wh' ontouchstart>
  	<div id='page_0' class='up ub ub-ver' tabindex='0'>
	    <div id='content' class='ub ub-f1 hide'>
		  	<!--<div id='slider' class='ub-con ub'>
			    <div class='ub-fh im_yin1 ub-img7' style=""></div>
			    <div class='ub-fh im_yin2 ub-img7' style=""></div>
			    <div class='ub-fh im_yin3 ub-img7' style="position:relative;" ontouchstart="zy_touch()" onclick="Signup.guideClose();">
		    	</div>
		  	</div>-->
		  	<div class="box0 ub-f1">
	            <ul class="line">
	                <li class="ub">
	                   <div class='ub-fh im_yin1 ub-img7' style=""></div>
	                </li>
	                <li class="ub">
	                   <div class='ub-fh im_yin2 ub-img7' style=""></div>
	                </li>
	                <li class="ub">
	                   <div class='ub-fh im_yin3 ub-img7' style="position:relative;" ontouchstart="zy_touch()" onclick="Signup.guideClose();">
	                </li>
	            </ul>
	        </div>
		</div>
  	</div>
</body>
<script>
  	zy_init();
  window.uexOnload = function(type){
  	if(!type){
  		var never = GetLS("never");
	  	if (never == "never"){ 	
	  		if (GetLS("user")){
	  			$ajax({
					url: "/users/lgn",
					data:{email:CurrentUser.email, pwd:CurrentUser.password},
					success: function(res) {
						SetLS("user", res.result[0]);
						OpenNewWin('index',5);
					}
				});
	  		}else
	  			OpenNewWin("signup",5);
	  	} else {
		  	$("#content").removeClass("hide");

			n=$('.line li').size();             
	        var wh=100*n+"%";
	        $('.line').width(wh);
	        var lt=(100/n);
	        var lt_li=lt+"%";
	        $('.line li').width(lt_li);         
	        var y=0;   
	        var num = 0;   
	        $(".line").swipe( {                 
	            swipeLeft:function() {
	                if(num==n-1){
	                    //alert('已经到最后页');
	                }else{
	                	num ++;
	                    y=-num*lt;                             
	                    var t=y+"%";                 
	                    $(this).css({'-webkit-transform':"translate("+t+")",'-webkit-transition':'500ms ease'} ); 
	                }
	            },
	            swipeRight:function() {
	                if(num==0){
	                    //alert('已经到第一页') 
	                }else{
	                	num--;
	                    y=-num*lt;
	                    var t=y+"%"; 
	                    $(this).css({'-webkit-transform':"translate("+t+")",'-webkit-transition':'500ms ease'} ); 
	                }
	            }
	        });
		}   
  	}
  }
</script>